package com.demo.study.creative.d02_abstractFactory.expand;


import com.demo.study.creative.d02_abstractFactory.Sender;
import com.demo.study.creative.d02_abstractFactory.impl.SmsSender;

/**
 * @author Baymax
 * @since 2021/1/18
 */
public class SmsFactory extends SenderProvider {
    @Override
    public Sender produce() {
        return getSmsSender();
    }

    public static Sender getSmsSender() {
        return new SmsSender();
    }
}
